package io.renren.service;

import io.renren.entity.CustomContractEntity;

import java.util.List;
import java.util.Map;

/**
 * 客户协议
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2017-06-15 20:58:29
 */
public interface CustomContractService {
	
	CustomContractEntity queryObject(Integer id);
	
	List<CustomContractEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(CustomContractEntity customContract);
	
	void update(CustomContractEntity customContract);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

	void startSynToB1() throws Exception;

}
